{include file="header_cart.html"}
<div class="content_color" style="border-top:1px #DDDCDC solid">
<div class="content">

<div class="cashier">
  <div class="order_info">
  <h2><strong>√​订单提交成功，请您尽快付款！</strong><SPAN>同时支付{$order_num}笔订单 </SPAN> <p>应付金额：<STRONG>{$order_total_amount|price}</STRONG>元</p></h2>
  <div class="order_s">
  <!--{foreach from=$order item=orders}-->
  <li>
  {$lang.order_sn}&nbsp;:&nbsp;<a href="index.php?app=buyer_order&act=view&order_id={$orders.order_id}" target="_blank">{$orders.order_sn}</a>&nbsp;（<span>{$orders.order_amount|price}元</span>）
  </li>
  <!--{/foreach}-->
  </div>
  </div>
<!--{if $my_money.balance_payment neq 'ok'}-->   
<form action="index.php?app=cashier&act=payment&pay_step=1" method="POST" onsubmit="return check_form();">
<!--{/if}-->    
 <div class="xx_list">
  <DIV class=mscz>
    <h4>核对无误，确认支付</h4>
    <p>待付款总额为：<b>{$order_total_amount}</b> 元，&nbsp;&nbsp;可支付余额为：<EM>{$my_money.money}</EM> 元</p>
    <!--{if $my_money.balance_payment eq 'ok'}-->
    <form action="index.php?app=cashier&act=payment&pay_step=3" method="POST" onsubmit="return yue_check_input();">
    <p style="border-top:1px #CCC dotted; margin-top:8px;padding:8px 0 0 85px;width:300px">使用帐户余额支付 <b>{$order_total_amount}</b> 元</p>
    <p>我的支付密码：
       <!--{if $my_money.zf_pass}-->
       <input name="password" type="password" class="width5" id="password"/>
       <input type="hidden" name="order_id" value="{$select_store_ids}" />
       <INPUT class="balance_payment_btn" type=submit value="确认付款" name="submit">
       &nbsp;&nbsp;<a href="index.php?app=my_money&amp;act=account_security" target="_blank">忘记密码？</a>
       <!--{else}-->
       您还没设置支付，请先<a href="index.php?app=my_money&amp;act=setpaypassword" target="_blank">设置支付密码</a>。
       <!--{/if}-->
    </p>
    </form>
    <!--{else}-->
      <p><INPUT style="MARGIN-TOP: 2px" type=checkbox value=1 name=use_account> 
      用收银台余额付款 <b>{$my_money.money}</b> 元。剩余 <STRONG >{$my_money.differ_amount}</STRONG> 元可选择其他付款方式付款。 </p>
    <!--{/if}-->   
  </DIV>
  <UL class=ycts><B>友情提示：</B> 
  <LI>如没有开通网上银行，请先使用<A href="index.php?app=my_money&amp;act=remit_bank" target="_blank">银行充值</A>到收银台再到"<a href="{url index.php?app=buyer_order&act=index&type=pending}" target="_blank">待付款订单</a>"支付订单</LI>
  <LI>如订单金额较大，无法一次完成扣款，请先<A href="index.php?app=my_money&amp;act=remit_bank" target="_blank">充值</A>到收银台再到"<a href="{url index.php?app=buyer_order&act=index&type=pending}" target="_blank">待付款订单</a>"支付订单</LI>
  </UL>
  </div>
<!--{if $my_money.balance_payment eq 'ok'}--> 
<form action="index.php?app=cashier&act=payment&pay_step=1" method="POST" onsubmit="return check_form();">
<!--{/if}-->  
    <DIV class=conzi>
     <H5>请选择支付方式：</H5>
     <DIV class=conzi_box>
          <dl class="defray">
              <dt><img src="{res file=images/member/bank_title1.gif}" width="91" height="25" align="absmiddle" /><span>需要开通网上银行</span></dt>
                <dd><input type="radio" name="ebank_type" value="ICBCB2C"/><span class="img_bank ICBC"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CMB"/><span class="img_bank CMB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CCB"/><span class="img_bank CCB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="BOCB2C"><span class="img_bank BOC"></span></dd>
                <dd><input type="radio" name="ebank_type" value="ABC"/><span class="img_bank ABC"></span></dd>
                <dd><input type="radio" name="ebank_type" value="COMM"/><span class="img_bank COMM"></span></dd>
                <dd><input type="radio" name="ebank_type" value="PSBC-DEBIT"/><span class="img_bank PSBC"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CEBBANK"/><span class="img_bank CEB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="SPDB"/><span class="img_bank SPDB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="GDB"><span class="img_bank GDB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CITIC"/><span class="img_bank CITIC"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CIB"/><span class="img_bank CIB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="SDB"><span class="img_bank SDB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CMBC"/><span class="img_bank CMBC"></span></dd>
                <dd><input type="radio" name="ebank_type" value="BJBANK"/><span class="img_bank BJBANK"></span></dd>
                <dd><input type="radio" name="ebank_type" value="HZCBB2C"/><span class="img_bank HZCB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="SHBANK"/><span class="img_bank SHBANK"></span></dd>
                <dd><input type="radio" name="ebank_type" value="BJRCB"/><span class="img_bank BJRCB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="SPABANK"/><span class="img_bank SPABANK"></span></dd>
                <dd><input type="radio" name="ebank_type" value="FDB"/><span class="img_bank FDB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="WZCBB2C-DEBIT"><span class="img_bank WZCB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="ICBCBTB"/><span class="img_bank ICBCBTB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="CCBBTB"/><span class="img_bank CCBBTB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="SPDBB2B"/><span class="img_bank SPDBBTB"></span></dd>
                <dd><input type="radio" name="ebank_type" value="ABCBTB"/><span class="img_bank ABCBTB"></span></dd>
          </dl>
          <dl class="alipay">
              <dt><img src="{res file=images/member/bank_title2.gif}" width="110" height="25" align="absmiddle" /><span>使用支付宝快速付款</span></dt>
              <dd>
                 <p class="img_left"><input type="radio" name="ebank_type" value="alipay" />
                 <img src="{res file=images/member/bank_zfb.gif}" width="130" height="32" align="absmiddle" /></p>
              </dd>
          </dl>
          <dl class="alipay">
              <dt><img src="{res file=images/member/bank_title3.gif}" width="165" height="25" align="absmiddle" /><span>有银行卡就能付款，无需开通网银，支持各大银行</span></dt>
              <dd>
                 <p class="img_left"><input type="radio" name="ebank_type" value="alipay" />
                 <img src="{res file=images/member/bank_zfbkj.gif}" width="160" height="35" align="absmiddle" /></p>
                  <p class="explain">
                  <b>支付宝旗下产品 网上购物，快捷支付</b><br>
                  <i>无需开通网银，有卡就能付，双重密码保护+72小时资金赔付</i></p>
              </dd>
          </dl>   
      <p>
      <input type="hidden" name="order_id" value="{$select_store_ids}" />
      <INPUT class="s_btn" type=submit value="下一步" name="submit">
      <!--<a href="javascript:$('#goto_pay').submit();" class="s_btn">{$lang.confirm_pay}</a>-->
      </p>  
      </DIV>
    </DIV>
</form>    
</div>

<script>
$(document).ready(function(){
	$('.conzi_box dd img').css('cursor','pointer');
	$('.conzi_box dd img').click(function(){
		$(this).prev().click();
	});
	$('.conzi_box .img_bank').click(function(){
		$(this).prev().click();
	});		
});
function check_form() {
	if( $('input[name=ebank_type]:checked').val() == undefined ) {
		alert("请选择支付银行");
		return false;
	} 		
}
function yue_check_input() {
	var password = $("#password").val();
    if (password == '')
    {
        alert("请输入支付密码");
		$("#password").focus();
        return false;
    }
}
</script>

<DIV><img src="{res file=images/cashier_jhlc.gif}" width="1000" height="150" /></DIV>    
</div>
</div>
{include file="footer.html"}